Define name of babl library file.
authorKevin Cozens <kcozens@cvs.gnome.org>
Sat, 15 Sep 2007 00:01:00 +0000 (00:01 +0000)
committerKevin Cozens <kcozens@src.gnome.org>
Sat, 15 Sep 2007 00:01:00 +0000 (00:01 +0000)
2007-09-14  Kevin Cozens  <kcozens@cvs.gnome.org>

* configure.ac: Define name of babl library file.

* babl/babl-extension.c: Use name of babl library defined when
./configure was run.

svn path=/trunk/; revision=241

ChangeLog
babl/babl-extension.c
configure.ac

index 41fd1716ed6f087df4292ebc6dce5a72b62f926a..731f8501a3bfd12b2dcfba439cf6cfb1507d7008 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-14  Kevin Cozens  <kcozens@cvs.gnome.org>
+       
+       * configure.ac: Define name of babl library file.
+
+       * babl/babl-extension.c: Use name of babl library defined when
+       ./configure was run.
+
 2007-09-14  Kevin Cozens  <kcozens@cvs.gnome.org>
 
        Changes to let BABL find its extensions at run time when the
index 1f7f203976dea3b77c99ca76408767667b97cbdd..807b8a658e446a92cf64b45ab006658874b9d3ed 100644 (file)
@@ -23,7 +23,7 @@
 #include "config.h"
 #endif
 
-#define BABL_PATH              PREFIX "/lib/babl-0.0"
+#define BABL_PATH              PREFIX "/lib/" BABL_LIBRARY
 
 #define BABL_INIT_HOOK         init_hook ();
 #define BABL_DESTROY_HOOK      destroy_hook ();
index 3d998bca42552a6a03ed512fd8d6d35259a13dcd..951541d45e2030cbfca81915da54d48aa96e8570 100644 (file)
@@ -208,6 +208,8 @@ AC_REPLACE_FUNCS(gettimeofday)
 AC_DEFINE_UNQUOTED(BABL_PATH_SEPARATOR, '$PATH_SEP', [separator between paths in BABL_PATH])
 AC_DEFINE_UNQUOTED(BABL_DIR_SEPARATOR, "$DIR_SEP", [separator between directories in BABL_PATH])
 
+AC_DEFINE_UNQUOTED(BABL_LIBRARY, "$PACKAGE_NAME-$BABL_API_VERSION", [name of BABL library])
+
 #####################################
 # File extension for shared libraries
 #####################################